/**
 * Dear programmer:
 * When I wrote this code, only god and I knew how it worked.
 * Now, only god knows it!
 *
 * @author: Pegasus  Date: 2019-03-11 Time: 23:58
 */
import {RequestAction, RequestMethod} from "../configuration/RequestConfiguration"
import {AppRequestPath} from "../configuration/AppConfig"
import {API_PROCEDURE2} from "../constant/API"
import {FU_QMS_RETRIEVE_CACHE_DATA} from "../constant/FU"
import global from "../configuration/global";

export const requestRetrieveCacheData = (action) => {
  return RequestAction(
    AppRequestPath() + API_PROCEDURE2,
    RequestMethod.Post, {
      'hotelId': global.hotelId,
      'fu': FU_QMS_RETRIEVE_CACHE_DATA,
      'jn': {},
      'jnJson2': {}
    },
    action
  )
}